package com.mankiw.insight.spring.sub;

import com.mankiw.insight.spring.Component;

@Component(name = "mydog")
public class Dog {

    @Autowried
    Cat cat;

    @Autowried
    Dog dog;

    @PostConstruct
    public void init() {
        System.out.println("Dog init" + cat);
        System.out.println("Dog init" + dog );
    }
}
